﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PMS.Models.Base
{
    ///<summary>
    ///用户角色表的实体类
    ///</summary>
    [Serializable]
    [Table("BaseRole")]
    public class BaseRole
    {
        /// <summary>
        /// 用户表主键
        /// </summary>
        [Key]
        [Column("Id")]
        public int Id { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [Column("RoleName")]
        public string RoleName { get; set; }
        /// <summary>
        /// 角色编号
        /// </summary>
        [Column("Sym")]
        public string Sym { get; set; }
        /// <summary>
        /// 取值信息
        /// </summary>
        [Column("Value")]
        public string Value { get; set; }
        /// <summary>
        /// 备注描述信息
        /// </summary>
        [Column("Remark")]
        public string Remark { get; set; }
        /// <summary>
        /// 是否启用 1 启用 0停用
        /// </summary>
        [Column("Enable")]
        public int Enable { get; set; }
        /// <summary>
        /// 删除标识1表示删除0表示未删除
        /// </summary>
        [Column("IsDel")]
        public int IsDel { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [Column("CreateBy")]
        public int CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("CreateDate")]
        public System.DateTime CreateDate { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        [Column("ModifyBy")]
        public int ModifyBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Column("ModifyDate")]
        public System.DateTime ModifyDate { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        [Column("DeleteBy")]
        public int DeleteBy { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        [Column("DeleteDate")]
        public System.DateTime DeleteDate { get; set; }
    }
}